Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap the dnf transaction in ProcMount to keep systemd happy #1333

Merged
merged 5 commits into from
Jul 14, 2023

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jul 14, 2023

No description provided.

bcl added 5 commits July 14, 2023 09:21
In some cases we need to just mount /proc and /dev so this moves the
mount and cleanup code for that into ProcMount, leaving the dracut
specific code in DracutChroot (which uses ProcMount).
Some packages expect a filesystem that looks more like a real system. So
this mounts /proc and /dev inside the dnf installroot while packages are
being installed.

This was prompted by a systemd change which has been fixed
(systemd/systemd#28388) but as noted, it may
happen again.

Also update tests to adjust for this. Sadly the run_pkg_transaction test
can now only be run as root. And when it doesn't run there is no /etc in
the installroot so make the directory just to be sure it is present.
Macintosh HFS changed to Apple HFS. Accept either one.
--releasever=/ isn't setting $releasever when using dnf5.
The new pylint/astroid on rawhide doesn't know how to deal with
datetime. Ignore the false positive error until it is fixed.
@bcl bcl merged commit b48c57a into weldr:master Jul 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant